package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <desc>
 *      sdk二维码生成记录扣次表
 * </desc>
 *
 * @createDate 2019/10/28
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("sdk_qrcode_batch_record")
public class SdkQrcodeBatchRecord extends BasePO{
    @ItlField(value = "sdk_qrcode_record_id",logicKey = "key")
    private String sdkQrcodeRecordId;        //逻辑id
    @ItlField("uid")
    private String uid;                         //uid
    @ItlField("type")
    private Integer type;                        //类型 ：1业主 2访客
    @ItlField("batch")
    private Integer batch;                         //批次号
    @ItlField("count")
    private Integer count;                          //充值后次数
    @ItlField("pay_count")
    private Integer payCount;                       //充值次数
    @ItlField("usable_count")
    private Integer usableCount;                        //可用次数
    @ItlField("begin_time")
    private Date beginTime;                         //启用时间
    @ItlField("mac")
    private String mac;                             //mac码
    @ItlField("project_id")
    private String projectId;                       //项目id
}